package com.lnsf.bookstore.web.advertise.dao;

import com.lnsf.bookstore.web.advertise.vo.ApiAdvertise;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface ApiAdvertiseMapper {
    int deleteByPrimaryKey(Integer advId);

    int insert(ApiAdvertise record);

    int insertSelective(ApiAdvertise record);

    ApiAdvertise selectByPrimaryKey(Integer advId);

    int updateByPrimaryKeySelective(ApiAdvertise record);

    int updateByPrimaryKey(ApiAdvertise record);

    List<ApiAdvertise> queryList(Map<String, String> param);
}